/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.sas.model.v20181203;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.sas.transform.v20181203.GetCheckRiskStatisticsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class GetCheckRiskStatisticsResponse extends AcsResponse {

	private Integer count;

	private String requestId;

	private List<DataItem> data;

	public Integer getCount() {
		return this.count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public List<DataItem> getData() {
		return this.data;
	}

	public void setData(List<DataItem> data) {
		this.data = data;
	}

	public static class DataItem {

		private String sceneName;

		private Integer lowWarningCount;

		private Integer mediumWarningCount;

		private Integer highWarningCount;

		private Integer totalCount;

		private Integer passCount;

		private List<SubStatistic> subStatistics;

		public String getSceneName() {
			return this.sceneName;
		}

		public void setSceneName(String sceneName) {
			this.sceneName = sceneName;
		}

		public Integer getLowWarningCount() {
			return this.lowWarningCount;
		}

		public void setLowWarningCount(Integer lowWarningCount) {
			this.lowWarningCount = lowWarningCount;
		}

		public Integer getMediumWarningCount() {
			return this.mediumWarningCount;
		}

		public void setMediumWarningCount(Integer mediumWarningCount) {
			this.mediumWarningCount = mediumWarningCount;
		}

		public Integer getHighWarningCount() {
			return this.highWarningCount;
		}

		public void setHighWarningCount(Integer highWarningCount) {
			this.highWarningCount = highWarningCount;
		}

		public Integer getTotalCount() {
			return this.totalCount;
		}

		public void setTotalCount(Integer totalCount) {
			this.totalCount = totalCount;
		}

		public Integer getPassCount() {
			return this.passCount;
		}

		public void setPassCount(Integer passCount) {
			this.passCount = passCount;
		}

		public List<SubStatistic> getSubStatistics() {
			return this.subStatistics;
		}

		public void setSubStatistics(List<SubStatistic> subStatistics) {
			this.subStatistics = subStatistics;
		}

		public static class SubStatistic {

			private String typeName;

			private String alias;

			private Integer lowWarningCount;

			private Integer mediumWarningCount;

			private Integer highWarningCount;

			private Integer totalCount;

			private Integer passCount;

			public String getTypeName() {
				return this.typeName;
			}

			public void setTypeName(String typeName) {
				this.typeName = typeName;
			}

			public String getAlias() {
				return this.alias;
			}

			public void setAlias(String alias) {
				this.alias = alias;
			}

			public Integer getLowWarningCount() {
				return this.lowWarningCount;
			}

			public void setLowWarningCount(Integer lowWarningCount) {
				this.lowWarningCount = lowWarningCount;
			}

			public Integer getMediumWarningCount() {
				return this.mediumWarningCount;
			}

			public void setMediumWarningCount(Integer mediumWarningCount) {
				this.mediumWarningCount = mediumWarningCount;
			}

			public Integer getHighWarningCount() {
				return this.highWarningCount;
			}

			public void setHighWarningCount(Integer highWarningCount) {
				this.highWarningCount = highWarningCount;
			}

			public Integer getTotalCount() {
				return this.totalCount;
			}

			public void setTotalCount(Integer totalCount) {
				this.totalCount = totalCount;
			}

			public Integer getPassCount() {
				return this.passCount;
			}

			public void setPassCount(Integer passCount) {
				this.passCount = passCount;
			}
		}
	}

	@Override
	public GetCheckRiskStatisticsResponse getInstance(UnmarshallerContext context) {
		return	GetCheckRiskStatisticsResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}
